package com.ruoyi.labormgr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 其他劳动力情况对象 labor_employ_other
 *
 * @author ruoyi
 * @date 2021-07-08
 */
public class LaborEmployOther extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号主码 */
    private Long laborEmployOtherId;
    private Long laborEmployOtherIds[];

    public Long[] getLaborEmployOtherIds() {
        return laborEmployOtherIds;
    }

    public void setLaborEmployOtherIds(Long[] laborEmployOtherIds) {
        this.laborEmployOtherIds = laborEmployOtherIds;
    }

    /** 工作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workTime;

    /** 操作编号 */
    @Excel(name = "操作编号")
    private Long operationId;

    /** 操作名称 对应production_operation生产操作表 */
    @Excel(name = "操作名称 对应production_operation生产操作表")
    private String operationName;

    /** 工作人数 */
    @Excel(name = "工作人数")
    private Long laborNumber;

    /** 工作地点 */
    @Excel(name = "工作地点")
    private String workPlace;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 育苗场厂长审批状态 */
    @Excel(name = "育苗场厂长审批状态", readConverterExp = "0=未审核,1=审批通过,2=审批不通过")
    private Long approvalStatusManage;

    public void setLaborEmployOtherId(Long laborEmployOtherId)
    {
        this.laborEmployOtherId = laborEmployOtherId;
    }
    public Long getLaborEmployOtherId()
    {
        return laborEmployOtherId;
    }

    public void setWorkTime(Date workTime)
    {
        this.workTime = workTime;
    }
    public Date getWorkTime()
    {
        return workTime;
    }

    public void setOperationId(Long operationId)
    {
        this.operationId = operationId;
    }
    public Long getOperationId()
    {
        return operationId;
    }

    public void setOperationName(String operationName) { this.operationName = operationName; }
    public  String getOperationName() { return  operationName; }

    public void setLaborNumber(Long laborNumber)
    {
        this.laborNumber = laborNumber;
    }
    public Long getLaborNumber()
    {
        return laborNumber;
    }

    public void setWorkPlace(String workPlace)
    {
        this.workPlace = workPlace;
    }
    public String getWorkPlace()
    {
        return workPlace;
    }

    public void setNote(String note)
    {
        this.note = note;
    }
    public String getNote()
    {
        return note;
    }

    public void setApprovalStatusManage(Long approvalStatusManage)
    {
        this.approvalStatusManage = approvalStatusManage;
    }
    public Long getApprovalStatusManage()
    {
        return approvalStatusManage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("laborEmployOtherId", getLaborEmployOtherId())
            .append("workTime", getWorkTime())
            .append("operationId", getOperationId())
            .append("operationName", getOperationName())
            .append("laborNumber", getLaborNumber())
            .append("workPlace", getWorkPlace())
            .append("note", getNote())
            .append("approvalStatusManage", getApprovalStatusManage())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
